package com.bonuo.saas.service.impl;

import com.bonuo.saas.domain.IntellectualPropertyFile;
import com.bonuo.saas.mapper.IntellectualPropertyFileMapper;
import com.bonuo.saas.service.IntellectualPropertyFileService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IntellectualPropertyFileServiceImpl implements IntellectualPropertyFileService {
    @Autowired
    private IntellectualPropertyFileMapper intellectualPropertyFileMapper;
    @Override
    public List<IntellectualPropertyFile> selectIntellectualPropertyFileList(IntellectualPropertyFile intellectualPropertyFile) {
        return intellectualPropertyFileMapper.selectIntellectualPropertyFileList(intellectualPropertyFile);
    }

    @Override
    public int insertIntellectualPropertyFile(IntellectualPropertyFile intellectualPropertyFile) {
        return intellectualPropertyFileMapper.insertIntellectualPropertyFile(intellectualPropertyFile);
    }

    @Override
    public int updateIntellectualPropertyFile(IntellectualPropertyFile intellectualPropertyFile) {
        return intellectualPropertyFileMapper.updateIntellectualPropertyFile(intellectualPropertyFile);
    }

    @Override
    public int deleteIntellectualPropertyFileById(Integer id) {
        return intellectualPropertyFileMapper.deleteIntellectualPropertyFileById(id);
    }
}
